package com.mh.common;

/**
 * Date:2025/2024/2/10
 * author:zmh
 * description: 自定义权限异常
 **/


public class MyTokenException extends RuntimeException{

    private String errMsg;

    public MyTokenException(String message, Throwable cause) {
        super(message, cause);
        this.errMsg = message;
    }

    public MyTokenException(String message) {
        super(message);
        this.errMsg = message;
    }

    public String getErrMsg() {
        return errMsg;
    }
}
